package com.idna.wsconsumer.utils;

import java.io.FileNotFoundException;
import java.io.IOException;

public interface ApplicationUtil
{
	
	/**
	 * Read and return contents of a specified file as a string
	 * 
	 * @param path
	 * @return
	 * @throws FileNotFoundException
	 * @throws IOException
	 */
	public java.lang.String readFile(String path) throws FileNotFoundException, IOException;
	/**
	 * Load properties from a given property file
	 * 
	 * @param path
	 * @return
	 * @throws FileNotFoundException
	 * @throws IOException
	 */
	public java.util.Properties loadProperty(String path) throws FileNotFoundException, IOException;
}
